//
//  EndSweepViewController.m
//  GiftItems
//
//  Created by lanou3g on 15/10/6.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "EndSweepViewController.h"

@interface EndSweepViewController ()

@end

@implementation EndSweepViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    UIImageView *imageV = [[UIImageView alloc] initWithFrame:CGRectMake((kWidth - 50) / 2, kHeight / 3 - 100, 50, 50)];
    imageV.image = [UIImage imageNamed:@"礼物盒.png"];
    [self.view addSubview:imageV];
    
    UILabel *urlLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, kHeight - kHeight / 3 * 2, 50, 50)];
    urlLabel.text = @"网址:";
    urlLabel.textColor = [UIColor grayColor];
    [self.view addSubview:urlLabel];
    
    UILabel *Label = [[UILabel alloc] initWithFrame:CGRectMake(10, kHeight - kHeight / 3 * 2 + 60, kWidth - 10 * 2, 30)];
    Label.text = self.scanUrl;
    Label.numberOfLines = 0;
    Label.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:Label];
    
    UILabel *alertL = [[UILabel alloc] initWithFrame:CGRectMake(10, kHeight - kHeight / 3, kWidth, 60)];
    alertL.text = @"该信息并非本软件提供,请谨慎使用,同时要注意保护你的隐私";
    alertL.textColor = [UIColor grayColor];
    alertL.numberOfLines = 0;
    alertL.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:alertL];
    
    UIButton *requestB = [[UIButton alloc] initWithFrame:CGRectMake(20, kHeight - kHeight / 3 + 60, kWidth - 20 * 2, 30)];
    [requestB setTitle:@"使用浏览器访问" forState:UIControlStateNormal];
    //requestB.backgroundColor = [UIColor purpleColor];
    //requestB.font = [UIFont systemFontOfSize:15];
    [requestB setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [requestB addTarget:self action:@selector(buttonClick) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:requestB];
}
- (void)buttonClick{

}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
